package com.ssn.proxy.image;

public class Image implements IShowImage{
    @Override
    public void showImage() {
        System.out.println("image show");
    }
    public void smallImage(){
        System.out.println("quality 20%");
    }
    public void middleImage(){
        System.out.println("quality 60%");
    }
    public void originalImage(){
        System.out.println("quality 100%");
    }
    public void load(Integer level){
        if (level == 2){
            System.out.println("loading  1s...");
        }
        else if (level == 3){
            System.out.println("loading  2s...");
        }
    }
}
